package com.dcy.znoa.service.estate;

import com.aliyuncs.exceptions.ClientException;
import com.baomidou.mybatisplus.service.IService;
import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.domain.estate.EstateService;
import com.dcy.znoa.controller.estate.model.service.*;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 物业服务表 服务类
 * </p>
 *
 * @author cook
 * @since 2018-05-21
 */
public interface EstateServiceService {

    JsonForList selectList(SelectEstateServiceModel model) throws InvocationTargetException, IllegalAccessException;

    Integer insert(EstateService cp) throws BusinessException, InvocationTargetException, IllegalAccessException, ClientException;

    Integer updateById(UpdateEstateServiceModel model) throws BusinessException, InvocationTargetException, IllegalAccessException, ClientException;

    EstateService selectById(Long esserId);
}
